module.exports = function($scope,$modal,toaster, $resource){

    $scope.searchform = {};
    $scope.info = "";
    //查询城市编号别表
    $scope.search = function (){
        var para = {
            'mobile': $scope.mobile,
            'idcard': $scope.idcard
        }
        $resource('/api/us/cdc/useractiveservice/getOrderActive', {}, {}).save(para, function(res){
            if(res.errcode === 0){
                $scope.info = res.data;
            }else{
                toaster.error({title: '', body: res.errmsg});
            }
        });
    }



};